* {
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: animate 5s linear infinite;

}

.pencil {
  width: 300px;
  height: 15px;
  background: #ffc334;
  border-top: 10px solid #ffd268;
  border-bottom: 10px solid #e2af38;
  overflow: hidden;
  transform-origin: top;
}

.pencil p {
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 8px;
  line-height: 15px;
  text-transform: uppercase;
  font-weight: bold;
  color: #d09200;
}

.pencil:before {
  content: '';
  position: absolute;
  left: -80px;
  top: 0;
  border-style: solid;
  border-color: transparent #e29663 transparent transparent;
  border-width: 17px 40px 18px;
}

.pencil:after {
  content: '';
  position: absolute;
  left: -80px;
  top: 0;
  border-style: solid;
  border-color: transparent #262626 transparent transparent;
  border-width: 17px 40px 18px;
  transform: scale(.3);
}

.top {
  position: absolute;
  top: 0;
  right: 0;
  height: 15px;
  width: 30px;
  background: #ccc;
  border-top: 10px solid #dedede;
  border-bottom: 10px solid #d9bfbf;
}

.top:before {
  content: '';
  position: absolute;
  top: -10px;
  right: -100%;
  width: 150%;
  height: 100%;
  background: #d76f6e;
  border-top: 10px solid #d76f6e;
  border-bottom: 10px solid #d76f6e;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.stroke {
  position: absolute;
  top: 50%;
  left: calc(50% - 5px);
  transform: translate(-50%, -50%) rotate(45deg);
  border: 5px solid transparent;
  border-left-color: #000;
  border-top-color: #000;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  z-index: -1;
}

@keyframes animate {
  0%{
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(-360deg);
  }
}
